import request from '@/utils/request'

export const getAllUsers = () =>
  request({
    url: '/admin/getAllUsers',
    method: 'get',
  })

export const deleteUser = (id: number) =>
  request({
    url: `/admin/deleteUser/${id}`,
    method: 'post',
  })